﻿using B.S.Warehouse.ErrorCord;
using MediatR;

namespace B.S.Warehouse.Write.Api.Application.Command.OutboundDetailsCommand
{
    public class AddOutboundDetailsCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 主键，自增长
        /// </summary>

        public int OutboundDetailsId { get; set; }
        /// <summary>
        /// 产品名称，必填
        /// </summary>

        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal UnitPrice { get; set; }
        /// <summary>
        /// 申请出库数量，必填
        /// </summary>

        public int ApplicationOutboundQuantity { get; set; }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal TotalAmount { get; set; }
        /// <summary>
        /// 库存信息
        /// </summary>
        public string InventoryInformation { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime ArrivalDate { get; set; }
        /// <summary>
        /// 包装方式
        /// </summary>
        public string PackagingMethod { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 出库主键
        /// </summary>
        public int OutboundId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDel { get; set; }
    }
}
